<template>
  <page-form :x-uri="uri" :x-tabs="tabs" :custom-components="custom" />
</template>

<script>
import PageForm from '@public/template/page_form.vue';
import ChooseImage from '@/pages/material/choose/image.vue';
import Content from './components/content.vue';
export default {
  components: {
    PageForm
  },
  data() {
    return {
      uri: '/course/admin/cert/config',
      tabs: [
        {
          title: '证书配置',
          uri: '/course/cert/config',
          meta: {
            permission: 'course.cert.config'
          }
        }
      ],
      custom: {
        official_seal: ChooseImage,
        background: ChooseImage,
        content: Content
      }
    };
  }
};
</script>
